<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<meta content=" " name="keywords" />
		<meta content=" " name="description" />
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>
		<div id="MainWrap">

			<div id="LeftColumn">
				 <%@ include file="/jsp/front/common/catList.jsp"%>
				<%@ include file="/jsp/front/common/viewHistory.jsp"%>
			</div>
			<div id="Main">
				<div id="325">
					<div class="Navigation">
						您当前的位置：
						<span><a href="">首页</a> </span>
						<span>»</span>
						<span>捆绑促销 </span>

					</div>
				</div>


				<div class="ItemsWarp clearfix">
					<div class="GoodsInfoWrap PackageGoodsWrap">
						<c:forEach items="${goodsPackages}" var="gp">
							<div class="items clearfix">
								<h3>
									${gp.name }
								</h3>
								<div class="desc">
									${gp.description }
								</div>
								<div class="span-6">
									<div class="boxBlue">
										<div class="division">
											<ul class="clearfix">
												<li>
													<div class="span-2">
														原价：
													</div>
													<strong class="mktprice1"><fmt:message key="common_currency" />${gp.mktPrice }</strong>
												</li>
												<li>
													<div class="span-2">
														捆绑价：
													</div>
													<strong class="price1"><fmt:message key="common_currency" />${gp.packageDiscount }</strong>
												</li>
												<li class="save">
													<div class="span-2"></div>
													节省：
													<strong><fmt:message key="common_currency" />${gp.mktPrice -gp.packageDiscount}</strong>
												</li>
												<li class="textcenter">
													<a href="member_cart.html" onclick="return addPackageToCart(${gp.gpackageId});" class="actbtn btn-buy">购买</a>
												</li>
											</ul>
										</div>
									</div>
								</div>
								<div class="push-6">
									<h4>
										此捆绑促销包括：
									</h4>
									<ul class="list">
										<c:forEach items="${gp.marketPackageProducts}" var="product">
											<li>
												<a target="_blank" href="dp_goods_get.html?goodsId=${product.goodsId}">${ product.name}- ${product.pdtDesc}</a>
												<br>
													数量:<strong class="fontcolorBlue">${product.pkgCount}</strong> 市场价:<strong class="fontcolorBlue"><fmt:message key="common_currency" />${product.mktPrice}</strong>
											</li>
										</c:forEach>
									</ul>
								</div>
								<!-- <ul class="button"><li title="11" star="79" class="star-off"><a class="listact" onclick="return false;" href="#">加入收藏</a></li><li class="vdetail"></li><li class="addcart"></li></ul>-->
							</div>
						</c:forEach>
					</div>
				</div>




				<div class="clearfix" style="clear: both;">
				</div>
			</div>
		</div>
		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript" src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>
		<script type="text/javascript" src="<c:url value='/scripts/cart.js'/>"></script>

		<script type="text/javascript">
	function addPackageToCart(id) {
		updateItem(id, 1, 'package');
		return true;
	}
</script>
	</body>
</html>